Post

Replies

Boosts

Views

Activity

Reply to How to know if a user cancelled and resubscribed again after certain period ?
Hi, we use online receipt validation, server response contain this info for example: environment = Sandbox; "latest_receipt" = "<base64 encoded receipt>"; "latest_receipt_info" = ( { **"expires_date" = "2021-04-01 08:11:41 Etc/GMT";** "expires_date_ms" = 1617264701000; "expires_date_pst" = "2021-04-01 01:11:41 America/Los_Angeles"; "is_in_intro_offer_period" = false; "is_trial_period" = false; "original_purchase_date" = "2021-04-01 08:06:43 Etc/GMT"; "original_purchase_date_ms" = 1617264403000; "original_purchase_date_pst" = "2021-04-01 01:06:43 America/Los_Angeles"; "original_transaction_id" = 1000000796251683; "product_id" = "<some product id>"; "purchase_date" = "2021-04-01 08:06:41 Etc/GMT"; "purchase_date_ms" = 1617264401000; "purchase_date_pst" = "2021-04-01 01:06:41 America/Los_Angeles"; quantity = 1; "subscription_group_identifier" = 20744130; "transaction_id" = 1000000796251683; "web_order_line_item_id" = 1000000061338245; } ); **"pending_renewal_info" = ( { "auto_renew_product_id" = "<some product id>"; "auto_renew_status" = 1; "original_transaction_id" = 1000000796251683; "product_id" = "<some product id>"; }** ); receipt = { "adam_id" = 0; "app_item_id" = 0; "application_version" = "4.0"; "bundle_id" = "<some bundle id>"; "download_id" = 0; "in_app" = ( { "expires_date" = "2021-04-01 08:11:41 Etc/GMT"; "expires_date_ms" = 1617264701000; "expires_date_pst" = "2021-04-01 01:11:41 America/Los_Angeles"; "is_in_intro_offer_period" = false; "is_trial_period" = false; "original_purchase_date" = "2021-04-01 08:06:43 Etc/GMT"; "original_purchase_date_ms" = 1617264403000; "original_purchase_date_pst" = "2021-04-01 01:06:43 America/Los_Angeles"; "original_transaction_id" = 1000000796251683; "product_id" = "<some product id>"; "purchase_date" = "2021-04-01 08:06:41 Etc/GMT"; "purchase_date_ms" = 1617264401000; "purchase_date_pst" = "2021-04-01 01:06:41 America/Los_Angeles"; quantity = 1; "transaction_id" = 1000000796251683; "web_order_line_item_id" = 1000000061338245; } ); "original_application_version" = "1.0"; "original_purchase_date" = "2013-08-01 07:00:00 Etc/GMT"; "original_purchase_date_ms" = 1375340400000; "original_purchase_date_pst" = "2013-08-01 00:00:00 America/Los_Angeles"; "receipt_creation_date" = "2021-04-01 08:06:43 Etc/GMT"; "receipt_creation_date_ms" = 1617264403000; "receipt_creation_date_pst" = "2021-04-01 01:06:43 America/Los_Angeles"; "receipt_type" = ProductionSandbox; "request_date" = "2021-04-01 08:06:46 Etc/GMT"; "request_date_ms" = 1617264406754; "request_date_pst" = "2021-04-01 01:06:46 America/Los_Angeles"; "version_external_identifier" = 0; }; status = 0; }
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’21
Reply to Account
Так пусть определенный круг скинется и будет тебе аккаунт с сертификатом для подписи.
Sep ’22
Reply to StoreKit 2 - Issue
First of all app should read receipt data, validate it by Apple certificate, decode data to get purchases and another info to configure/lock/unlock some functionality, by getting receipt data during debug your app will be promted to enter login and pwd of sandbox account. You should try to purchase with sandbox account.
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’22
Reply to WebCore Crash VideoFullscreenInterfaceAVKit doExitFullscreen()
I have one, have no idea what can cause it in my program Thread 0 name: Thread 0 Crashed: 0 WebCore 0x000000019242be5c WTF::Detail::CallableWrapper<WebCore::VideoFullscreenInterfaceAVKit::doExitFullscreen()::$_9, void>::call() + 44 (VideoFullscreenInterfaceAVKit.mm:1557) 1 JavaScriptCore 0x000000018bc1c650 WTF::RunLoop::performWork() + 200 (Function.h:82) 2 JavaScriptCore 0x000000018bc1d3ec WTF::RunLoop::performWork(void*) + 36 (RunLoopCF.cpp:46) 3 CoreFoundation 0x0000000180a24414 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 (CFRunLoop.c:1972) 4 CoreFoundation 0x0000000180a351a0 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016) 5 CoreFoundation 0x000000018096e6f8 __CFRunLoopDoSources0 + 368 (CFRunLoop.c:2061) 6 CoreFoundation 0x000000018097405c __CFRunLoopRun + 828 (CFRunLoop.c:2951) 7 CoreFoundation 0x0000000180987bc8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268) 8 GraphicsServices 0x000000019caf7374 GSEventRunModal + 164 (GSEvent.c:2200) 9 UIKitCore 0x00000001832fdb58 -[UIApplication _run] + 1100 (UIApplication.m:3511) 10 UIKitCore 0x000000018307f098 UIApplicationMain + 364 (UIApplication.m:5064) 11 XXXXXXXXX 0x00000001028c727c main + 108 (main.m:24) 12 dyld 0x00000001042c5da4 start + 520 (dyldMain.cpp:879)
Topic: Safari & Web SubTopic: General Tags:
Jan ’23